\(\int (3-6 x)^{5/2} (2+4 x)^{5/2} \, dx\) [1153]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [A] (verification not implemented)
   Sympy [F(-1)]
   Maxima [A] (verification not implemented)
   Giac [B] (verification not implemented)
   Mupad [F(-1)]

Optimal result

Integrand size = 19, antiderivative size = 100 \[ \int (3-6 x)^{5/2} (2+4 x)^{5/2} \, dx=\frac {45}{2} \sqrt {\frac {3}{2}} \sqrt {1-2 x} x \sqrt {1+2 x}+15 \sqrt {\frac {3}{2}} (1-2 x)^{3/2} x (1+2 x)^{3/2}+6 \sqrt {6} (1-2 x)^{5/2} x (1+2 x)^{5/2}+\frac {45}{4} \sqrt {\frac {3}{2}} \arcsin (2 x) \]

[Out]

15/2*(1-2*x)^(3/2)*x*(1+2*x)^(3/2)*6^(1/2)+45/8*arcsin(2*x)*6^(1/2)+6*(1-2*x)^(5/2)*x*(1+2*x)^(5/2)*6^(1/2)+45
/4*x*6^(1/2)*(1-2*x)^(1/2)*(1+2*x)^(1/2)

Rubi [A] (verified)

Time = 0.01 (sec) , antiderivative size = 100, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.158, Rules used = {38, 41, 222} \[ \int (3-6 x)^{5/2} (2+4 x)^{5/2} \, dx=\frac {45}{4} \sqrt {\frac {3}{2}} \arcsin (2 x)+6 \sqrt {6} (1-2 x)^{5/2} x (2 x+1)^{5/2}+15 \sqrt {\frac {3}{2}} (1-2 x)^{3/2} x (2 x+1)^{3/2}+\frac {45}{2} \sqrt {\frac {3}{2}} \sqrt {1-2 x} x \sqrt {2 x+1} \]

[In]

Int[(3 - 6*x)^(5/2)*(2 + 4*x)^(5/2),x]

[Out]

(45*Sqrt[3/2]*Sqrt[1 - 2*x]*x*Sqrt[1 + 2*x])/2 + 15*Sqrt[3/2]*(1 - 2*x)^(3/2)*x*(1 + 2*x)^(3/2) + 6*Sqrt[6]*(1
 - 2*x)^(5/2)*x*(1 + 2*x)^(5/2) + (45*Sqrt[3/2]*ArcSin[2*x])/4

Rule 38

Int[((a_) + (b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(m_), x_Symbol] :> Simp[x*(a + b*x)^m*((c + d*x)^m/(2*m + 1))
, x] + Dist[2*a*c*(m/(2*m + 1)), Int[(a + b*x)^(m - 1)*(c + d*x)^(m - 1), x], x] /; FreeQ[{a, b, c, d}, x] &&
EqQ[b*c + a*d, 0] && IGtQ[m + 1/2, 0]

Rule 41

Int[((a_) + (b_.)*(x_))^(m_.)*((c_) + (d_.)*(x_))^(m_.), x_Symbol] :> Int[(a*c + b*d*x^2)^m, x] /; FreeQ[{a, b
, c, d, m}, x] && EqQ[b*c + a*d, 0] && (IntegerQ[m] || (GtQ[a, 0] && GtQ[c, 0]))

Rule 222

Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Simp[ArcSin[Rt[-b, 2]*(x/Sqrt[a])]/Rt[-b, 2], x] /; FreeQ[{a, b}
, x] && GtQ[a, 0] && NegQ[b]

Rubi steps \begin{align*} \text {integral}& = 6 \sqrt {6} (1-2 x)^{5/2} x (1+2 x)^{5/2}+5 \int (3-6 x)^{3/2} (2+4 x)^{3/2} \, dx \\ & = 15 \sqrt {\frac {3}{2}} (1-2 x)^{3/2} x (1+2 x)^{3/2}+6 \sqrt {6} (1-2 x)^{5/2} x (1+2 x)^{5/2}+\frac {45}{2} \int \sqrt {3-6 x} \sqrt {2+4 x} \, dx \\ & = \frac {45}{2} \sqrt {\frac {3}{2}} \sqrt {1-2 x} x \sqrt {1+2 x}+15 \sqrt {\frac {3}{2}} (1-2 x)^{3/2} x (1+2 x)^{3/2}+6 \sqrt {6} (1-2 x)^{5/2} x (1+2 x)^{5/2}+\frac {135}{2} \int \frac {1}{\sqrt {3-6 x} \sqrt {2+4 x}} \, dx \\ & = \frac {45}{2} \sqrt {\frac {3}{2}} \sqrt {1-2 x} x \sqrt {1+2 x}+15 \sqrt {\frac {3}{2}} (1-2 x)^{3/2} x (1+2 x)^{3/2}+6 \sqrt {6} (1-2 x)^{5/2} x (1+2 x)^{5/2}+\frac {135}{2} \int \frac {1}{\sqrt {6-24 x^2}} \, dx \\ & = \frac {45}{2} \sqrt {\frac {3}{2}} \sqrt {1-2 x} x \sqrt {1+2 x}+15 \sqrt {\frac {3}{2}} (1-2 x)^{3/2} x (1+2 x)^{3/2}+6 \sqrt {6} (1-2 x)^{5/2} x (1+2 x)^{5/2}+\frac {45}{4} \sqrt {\frac {3}{2}} \sin ^{-1}(2 x) \\ \end{align*}

Mathematica [A] (verified)

Time = 0.34 (sec) , antiderivative size = 59, normalized size of antiderivative = 0.59 \[ \int (3-6 x)^{5/2} (2+4 x)^{5/2} \, dx=\frac {3}{2} \sqrt {\frac {3}{2}} \left (x \sqrt {1-4 x^2} \left (33-104 x^2+128 x^4\right )+15 \arctan \left (\frac {\sqrt {1-4 x^2}}{1-2 x}\right )\right ) \]

[In]

Integrate[(3 - 6*x)^(5/2)*(2 + 4*x)^(5/2),x]

[Out]

(3*Sqrt[3/2]*(x*Sqrt[1 - 4*x^2]*(33 - 104*x^2 + 128*x^4) + 15*ArcTan[Sqrt[1 - 4*x^2]/(1 - 2*x)]))/2

Maple [A] (verified)

Time = 0.53 (sec) , antiderivative size = 107, normalized size of antiderivative = 1.07

method result size
risch \(-\frac {3 x \left (128 x^{4}-104 x^{2}+33\right ) \left (-1+2 x \right ) \left (1+2 x \right ) \sqrt {\left (2+4 x \right ) \left (3-6 x \right )}\, \sqrt {6}}{4 \sqrt {-\left (-1+2 x \right ) \left (1+2 x \right )}\, \sqrt {3-6 x}\, \sqrt {2+4 x}}+\frac {45 \sqrt {\left (2+4 x \right ) \left (3-6 x \right )}\, \arcsin \left (2 x \right ) \sqrt {6}}{8 \sqrt {2+4 x}\, \sqrt {3-6 x}}\) \(107\)
default \(\frac {\left (3-6 x \right )^{\frac {5}{2}} \left (2+4 x \right )^{\frac {7}{2}}}{24}+\frac {\left (3-6 x \right )^{\frac {3}{2}} \left (2+4 x \right )^{\frac {7}{2}}}{8}+\frac {9 \sqrt {3-6 x}\, \left (2+4 x \right )^{\frac {7}{2}}}{32}-\frac {3 \left (2+4 x \right )^{\frac {5}{2}} \sqrt {3-6 x}}{16}-\frac {15 \left (2+4 x \right )^{\frac {3}{2}} \sqrt {3-6 x}}{16}-\frac {45 \sqrt {3-6 x}\, \sqrt {2+4 x}}{8}+\frac {45 \sqrt {\left (2+4 x \right ) \left (3-6 x \right )}\, \arcsin \left (2 x \right ) \sqrt {6}}{8 \sqrt {2+4 x}\, \sqrt {3-6 x}}\) \(134\)

[In]

int((3-6*x)^(5/2)*(2+4*x)^(5/2),x,method=_RETURNVERBOSE)

[Out]

-3/4*x*(128*x^4-104*x^2+33)*(-1+2*x)*(1+2*x)/(-(-1+2*x)*(1+2*x))^(1/2)*((2+4*x)*(3-6*x))^(1/2)/(3-6*x)^(1/2)/(
2+4*x)^(1/2)*6^(1/2)+45/8*((2+4*x)*(3-6*x))^(1/2)/(2+4*x)^(1/2)/(3-6*x)^(1/2)*arcsin(2*x)*6^(1/2)

Fricas [A] (verification not implemented)

none

Time = 0.23 (sec) , antiderivative size = 65, normalized size of antiderivative = 0.65 \[ \int (3-6 x)^{5/2} (2+4 x)^{5/2} \, dx=\frac {3}{4} \, {\left (128 \, x^{5} - 104 \, x^{3} + 33 \, x\right )} \sqrt {4 \, x + 2} \sqrt {-6 \, x + 3} - \frac {45}{8} \, \sqrt {3} \sqrt {2} \arctan \left (\frac {\sqrt {3} \sqrt {2} \sqrt {4 \, x + 2} \sqrt {-6 \, x + 3}}{12 \, x}\right ) \]

[In]

integrate((3-6*x)^(5/2)*(2+4*x)^(5/2),x, algorithm="fricas")

[Out]

3/4*(128*x^5 - 104*x^3 + 33*x)*sqrt(4*x + 2)*sqrt(-6*x + 3) - 45/8*sqrt(3)*sqrt(2)*arctan(1/12*sqrt(3)*sqrt(2)
*sqrt(4*x + 2)*sqrt(-6*x + 3)/x)

Sympy [F(-1)]

Timed out. \[ \int (3-6 x)^{5/2} (2+4 x)^{5/2} \, dx=\text {Timed out} \]

[In]

integrate((3-6*x)**(5/2)*(2+4*x)**(5/2),x)

[Out]

Timed out

Maxima [A] (verification not implemented)

none

Time = 0.28 (sec) , antiderivative size = 46, normalized size of antiderivative = 0.46 \[ \int (3-6 x)^{5/2} (2+4 x)^{5/2} \, dx=\frac {1}{6} \, {\left (-24 \, x^{2} + 6\right )}^{\frac {5}{2}} x + \frac {5}{4} \, {\left (-24 \, x^{2} + 6\right )}^{\frac {3}{2}} x + \frac {45}{4} \, \sqrt {-24 \, x^{2} + 6} x + \frac {45}{8} \, \sqrt {6} \arcsin \left (2 \, x\right ) \]

[In]

integrate((3-6*x)^(5/2)*(2+4*x)^(5/2),x, algorithm="maxima")

[Out]

1/6*(-24*x^2 + 6)^(5/2)*x + 5/4*(-24*x^2 + 6)^(3/2)*x + 45/4*sqrt(-24*x^2 + 6)*x + 45/8*sqrt(6)*arcsin(2*x)

Giac [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 227 vs. \(2 (70) = 140\).

Time = 0.33 (sec) , antiderivative size = 227, normalized size of antiderivative = 2.27 \[ \int (3-6 x)^{5/2} (2+4 x)^{5/2} \, dx=\frac {3}{40} \, \sqrt {3} \sqrt {2} {\left ({\left ({\left (2 \, {\left ({\left (8 \, {\left (5 \, x - 13\right )} {\left (2 \, x + 1\right )} + 321\right )} {\left (2 \, x + 1\right )} - 451\right )} {\left (2 \, x + 1\right )} + 745\right )} {\left (2 \, x + 1\right )} - 405\right )} \sqrt {2 \, x + 1} \sqrt {-2 \, x + 1} + 2 \, {\left ({\left (2 \, {\left (3 \, {\left (8 \, x - 17\right )} {\left (2 \, x + 1\right )} + 133\right )} {\left (2 \, x + 1\right )} - 295\right )} {\left (2 \, x + 1\right )} + 195\right )} \sqrt {2 \, x + 1} \sqrt {-2 \, x + 1} - 20 \, {\left ({\left (4 \, {\left (3 \, x - 5\right )} {\left (2 \, x + 1\right )} + 43\right )} {\left (2 \, x + 1\right )} - 39\right )} \sqrt {2 \, x + 1} \sqrt {-2 \, x + 1} - 80 \, {\left ({\left (4 \, x - 5\right )} {\left (2 \, x + 1\right )} + 9\right )} \sqrt {2 \, x + 1} \sqrt {-2 \, x + 1} + 240 \, \sqrt {2 \, x + 1} {\left (x - 1\right )} \sqrt {-2 \, x + 1} + 240 \, \sqrt {2 \, x + 1} \sqrt {-2 \, x + 1} + 150 \, \arcsin \left (\frac {1}{2} \, \sqrt {2} \sqrt {2 \, x + 1}\right )\right )} \]

[In]

integrate((3-6*x)^(5/2)*(2+4*x)^(5/2),x, algorithm="giac")

[Out]

3/40*sqrt(3)*sqrt(2)*(((2*((8*(5*x - 13)*(2*x + 1) + 321)*(2*x + 1) - 451)*(2*x + 1) + 745)*(2*x + 1) - 405)*s
qrt(2*x + 1)*sqrt(-2*x + 1) + 2*((2*(3*(8*x - 17)*(2*x + 1) + 133)*(2*x + 1) - 295)*(2*x + 1) + 195)*sqrt(2*x
+ 1)*sqrt(-2*x + 1) - 20*((4*(3*x - 5)*(2*x + 1) + 43)*(2*x + 1) - 39)*sqrt(2*x + 1)*sqrt(-2*x + 1) - 80*((4*x
 - 5)*(2*x + 1) + 9)*sqrt(2*x + 1)*sqrt(-2*x + 1) + 240*sqrt(2*x + 1)*(x - 1)*sqrt(-2*x + 1) + 240*sqrt(2*x +
1)*sqrt(-2*x + 1) + 150*arcsin(1/2*sqrt(2)*sqrt(2*x + 1)))

Mupad [F(-1)]

Timed out. \[ \int (3-6 x)^{5/2} (2+4 x)^{5/2} \, dx=\int {\left (4\,x+2\right )}^{5/2}\,{\left (3-6\,x\right )}^{5/2} \,d x \]

[In]

int((4*x + 2)^(5/2)*(3 - 6*x)^(5/2),x)

[Out]

int((4*x + 2)^(5/2)*(3 - 6*x)^(5/2), x)